#ifndef _USERMENU_H_
#define _USERMENU_H_
extern uint8 TC_flag;
//#define SECTOR_NUM  (FLASH_SECTOR_NUM-1)                                        //������������������ȷ����ȫ
#define  EXAMPLE_EEPROM_SECTOR                   (0)      //eeprom 0����
#define  VOFA_EEPROM_SECTOR                      (1)      //eeprom 1����
#define  ZL_EEPROM_SECTOR                         (3)
extern int32 TURN_Diff_P_Buf,TURN_Diff_D_Buf;

void User_StartMenu(void);
void UDF_flash_page_read (uint32 sector_num, uint32 *buf, uint32 addr);
uint8 UDF_flash_page_program (uint32 sector_num, const uint32 *buf, uint32 addr);
void UDF_flash_write(void);
#endif
